import { createApp } from 'vue';
import { createPinia } from 'pinia'
import './style.css'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import permission from './directives/permission'
import highlightjsVuePlugin from '@highlightjs/vue-plugin'
import "highlight.js/styles/atom-one-dark.css";
import "highlight.js/lib/common";
// 主题样式

import 'element-plus/dist/index.css'

const pinia = createPinia()

createApp(App)
  .use(ElementPlus)
  .use(router)
  .use(pinia)
  .use(highlightjsVuePlugin)
  .directive('permission', permission)
  .mount('#app')
